gavascript['pd'] = function (block) {
    let flag = gavascript.valueToCode(block, 'flag', gavascript.ORDER_NEW);
    let cmds = gavascript.statementToCode(block, 'cmds');
    return `pd(${flag}){\n${cmds}\n};\n`;
};
gavascript['this'] = function () {
    return `this();\n`;
};
gavascript['shuru'] = function () {
    return ["shuru()", gavascript.ORDER_NONE];
};
gavascript['kongzhitai_xieru'] = function (block) {
    let msg = gavascript.valueToCode(block, 'msg', gavascript.ORDER_ATOMIC);
    let code = `kongzhitai.xieru(${msg});\n`;
    return [code, gavascript.ORDER_NONE];
};
gavascript['kongzhitai_baocuo'] = function (block) {
    let msg = gavascript.valueToCode(block, 'msg', gavascript.ORDER_ATOMIC);
    let code = `kongzhitai.baocuo(${msg});\n`;
    return code;
};
gavascript['tanc_wei'] = function (block) {
    let msg = gavascript.valueToCode(block, 'msg', gavascript.ORDER_ATOMIC);
    let code = `tanc.wei(${msg});\n`;
    return code;
};
gavascript['tanc_buhaola'] = function (block) {
    let msg = gavascript.valueToCode(block, 'msg', gavascript.ORDER_ATOMIC);
    let code = `tanc.buhaola(${msg});\n`;
    return code;
};
gavascript['tanc_chucuola'] = function (block) {
    let msg = gavascript.valueToCode(block, 'msg', gavascript.ORDER_ATOMIC);
    let code = `tanc.chucuola(${msg});\n`;
    return code;
};
gavascript['wenjian_xuanze'] = function (block) {
    let code = '...';
    return [code, gavascript.ORDER_NONE];
};
gavascript['wenjian_duqu'] = function (block) {
    let value_path = gavascript.valueToCode(block, 'path', gavascript.ORDER_ATOMIC);
    let code = '...';
    return [code, gavascript.ORDER_NONE];
};